home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
EDIT_UTL
/
FDUPLINS
/
FDUPLINS.DOC
next >
Wrap
Text File
|
1993-07-13
|
2KB
|
43 lines
FDUPLINS
Free DOS utility: text file duplicate line deleter
Version 1.00 - July 14, 1993
(c) 1993
by
David Daniel Anderson
Reign Ware
FDUPLINS removes superfluous (duplicated) lines from a SORTED file. No lines
are lost, since exactly one copy (the last) of every different line is saved.
Usage: FDUPLINS source_file new_destination_file [/c[y|N]] [/d#]
where "/cy" is case sensitive, "/cn" is case insensitive, and
where "d#" is the number of characters at the beginning of the
line to disregard, e.g. - "/d5" ignores the first 5 characters.
It takes a minimum of two parameters on the command line: the name of the
original file followed by a new file name, which will be the sanitized file.
The other two parameters are optional. If /c or /cy is entered on the command
line the program operates in case sensitive mode, i.e. "david" is considered
different from "David". If /cn is entered, case is ignored in determining
duplication. This is the default.
If "/d" followed by a number (up to 255) is entered, that many characters at
the beginning of the line are Disregarded (ignored) when in determining
duplication. Zero is the default. This option was created so a file could
be have its lines numbered, sorted, have the duplicates removed, and then be
unsorted using the line numbers originally added. Removal of those line
numbers completes the process.
Wildcards are not allowed.